package org.jjj.market.service;

import org.jjj.market.domain.Clue;
import org.jjj.market.dto.ClueActivityDto;
import org.jjj.market.dto.ClueBusinessDto;
import org.jjj.market.vo.ShowPieChartVO;
import org.jjj.org.basic.service.IBaseService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiangjianjun
 * @since 2022-10-24
 */
public interface IClueService extends IBaseService<Clue> {
/**
 * 线索绑定活动之后要存入中间关联表中
 */
    void clueBindActivities(ClueActivityDto dto);
    /**
     * 分配线索
     */
    void assignClue(Clue clue);

    /**
     * 线索转化为商机
     * @param dto
     */
    void clueChangeBusiness(ClueBusinessDto dto);
    /**
     * 查出所有的线索来源
     */
    List<ShowPieChartVO> getPieChartData();
}
